package com.wave.traffic.task;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "traffic.config")
public class ServerInfo {

    private String serverIP1;

    private int serverPort1;

    private String serverIP2;

    private int serverPort2;

    private String serverIP3;

    private int serverPort3;


     public String getServerIP1() {
          return serverIP1;
     }

     public void setServerIP1(String serverIP1) {
          this.serverIP1 = serverIP1;
     }

     public int getServerPort1() {
          return serverPort1;
     }

     public void setServerPort1(int serverPort1) {
          this.serverPort1 = serverPort1;
     }

     public String getServerIP2() {
          return serverIP2;
     }

     public void setServerIP2(String serverIP2) {
          this.serverIP2 = serverIP2;
     }

     public int getServerPort2() {
          return serverPort2;
     }

     public void setServerPort2(int serverPort2) {
          this.serverPort2 = serverPort2;
     }

     public String getServerIP3() {
          return serverIP3;
     }

     public void setServerIP3(String serverIP3) {
          this.serverIP3 = serverIP3;
     }

     public int getServerPort3() {
          return serverPort3;
     }

     public void setServerPort3(int serverPort3) {
          this.serverPort3 = serverPort3;
     }
}
